home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / PowerPlant / CExep / CExeption.h < prev    next >
Encoding:
Text File  |  1997-01-22  |  753 b   |  29 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. // CExeption.h            ©1996 Sunbay Development Group. All rights reserved.
  3. // ===========================================================================
  4. // Jul 17,1996
  5.  
  6. #pragma once
  7.  
  8. class LDialogBox;
  9.  
  10. class CExeption {
  11.     protected:
  12.                 OSType    mType;
  13.                 OSType    mCode;
  14.         static    Str255    mDescriptor;
  15.     public:
  16.          CExeption(void);
  17.         ~CExeption();
  18.     //
  19.                 OSType        GetType(void) { return mType; };
  20.                 OSType        GetCode(void) { return mCode; };
  21.     //
  22.         virtual    Boolean        Process(void);
  23.         virtual    void        Alert(OSType inResID);
  24.     protected:
  25.         virtual    void        CastomAlert(LDialogBox *inDialog) = 0;
  26.         virtual    StringPtr    ExplaneType(void) = 0;
  27.         virtual    StringPtr    ExplaneCode(void) = 0;
  28. };
  29.